<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/swiper.min.css"/>
    <script type="text/javascript" src="__STATIC__/index/js/rem.js"></script>
    <title>配镜数据</title>
</head>
<body class=" geryBg">
<div class="query order_manage">
    <!--导航-->
    <div class="sub_nav whiteBg">
        <div class="swiper-container" id="swiper">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <a href="/index/peijing/index"><span {if empty($Think.get.type)} class="on" {/if}>全部</span></a>
                </div>
                {foreach $type as $t}
                <div class="swiper-slide" style="width: 1.5rem">
                    <a href="javascript:location.replace('?type={$t.id}')"><span {if $Think.get.type==$t.id}} class="on" {/if}>{$t.name}</span></a>
                </div>
                {/foreach}

            </div>
        </div>
    </div>
    <!--配镜数据 全部-->
    <div class="query_data block" style="display: none;margin-top: 1.2rem;">
        <ul class="data_list">
            {foreach $db as $vo}
            <li>
                <!--数据类型-->
                <div class="clear whiteBg data_type">
                    <p class="fl brown normall-text bold">{foreach $type as $v}{if $vo.type==$v.id}{$v.name}{/if}{/foreach}</p>
                    <p class="fr normall-text lightgery">{$vo.cost_time}</p>
                </div>
                <!--数据内容-->
                <div class="data_content clear">
                    <div class=" normall-text lightgery">
                        <p><i>所在门店 :</i><em>{$vo.shopname}</em></p>
                        <p><i>销&nbsp;&nbsp;售&nbsp;员 : </i><em>{$vo.sale_man}</em></p>
                        {if $vo.is_op==1}
                        <p><i>验&nbsp;&nbsp;光&nbsp;师 : </i><em>{$vo.op_man}</em></p>
                        {/if}
                        <p><i>产品类型 :</i><em>{$vo.goods_type}</em></p>
                        <p><i>品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌 :</i><em>{$vo.goods_brand}</em></p>
                        <p><i>型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号 :</i><em>{$vo.goods_number}</em></p>
                        <p><i>备注服务 :</i><em>{$vo.desc}</em></p>
                    </div>
                </div>
                <!--服务价格-->
                <div class="query_price whiteBg clear">
                    <p class="fl normall-text cutgery">合计 :<em class="brown">&yen; {$vo.amount}</em></p>
                    {if $vo.is_op==1}
                    <a class="fr normall-text brown" href="show?id={$vo.id}">查看详情</a>
                    {/if}
                </div>
            </li>
            {/foreach}
        </ul>
    </div>

    <p class="nomore lightgery normall-text text-center">暂无更多</p>
</div>
<!--底部tabs-->
<div class="nav-tabs">
    <ul class="nav-list clear">
        <a href="/index/entry/index">
            <li>
                <i class="home"></i>
                <p class="text-center normall-text">首页</p>
            </li>
        </a>
        <a href="/index/cart/index">
            <li>
                <i class="shopcart"></i>
                <p class="text-center normall-text">购物车</p>
            </li>
        </a>
        <a href="javascript:;">
            <li>
                <i class="query-selected"></i>
                <p class="text-center normall-text on">配镜查询</p>
            </li>
        </a>
        <a href="/index/user/index">
            <li>
                <i class="mine"></i>
                <p class="text-center normall-text">我的</p>
            </li>
        </a>
    </ul>
</div>
<script type="text/javascript" src="__STATIC__/index/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="__STATIC__/index/js/swiper.min.js"></script>
<script type="text/javascript">
    $(function(){
        var swiper = new Swiper('#swiper', {
            slidesPerView: 'auto',
            observer: true,
            observeParents: true
        })
    })
</script>
</body>
</html>